package com.ruoyi.jksd.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 交易控制对象 xy_business_config
 * 
 * @author ruoyi
 * @date 2024-05-27
 */
public class XyBusinessConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 系统收款地址 */
    @Excel(name = "系统收款地址")
    private String usdtAddress;

    /** 交易佣金比例  0到100 */
    @Excel(name = "交易佣金比例  0到100")
    private Long tradeCommissionRate;

    /** 交易所需最低余额 */
    @Excel(name = "交易所需最低余额")
    private Long tradeBalanceMin;

    /** 冻结前，等待未支付时间(小时) */
    @Excel(name = "冻结前，等待未支付时间(小时)")
    private Long unpayTime;

    /** 提现手续费（0-100） */
    @Excel(name = "提现手续费", readConverterExp = "0=-100")
    private Long depositRate;

    /** 充值手续费比例（0-100） */
    @Excel(name = "充值手续费比例", readConverterExp = "0=-100")
    private Long rechargeRate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUsdtAddress(String usdtAddress) 
    {
        this.usdtAddress = usdtAddress;
    }

    public String getUsdtAddress() 
    {
        return usdtAddress;
    }
    public void setTradeCommissionRate(Long tradeCommissionRate) 
    {
        this.tradeCommissionRate = tradeCommissionRate;
    }

    public Long getTradeCommissionRate() 
    {
        return tradeCommissionRate;
    }
    public void setTradeBalanceMin(Long tradeBalanceMin) 
    {
        this.tradeBalanceMin = tradeBalanceMin;
    }

    public Long getTradeBalanceMin() 
    {
        return tradeBalanceMin;
    }
    public void setUnpayTime(Long unpayTime) 
    {
        this.unpayTime = unpayTime;
    }

    public Long getUnpayTime() 
    {
        return unpayTime;
    }
    public void setDepositRate(Long depositRate) 
    {
        this.depositRate = depositRate;
    }

    public Long getDepositRate() 
    {
        return depositRate;
    }
    public void setRechargeRate(Long rechargeRate) 
    {
        this.rechargeRate = rechargeRate;
    }

    public Long getRechargeRate() 
    {
        return rechargeRate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("usdtAddress", getUsdtAddress())
            .append("tradeCommissionRate", getTradeCommissionRate())
            .append("tradeBalanceMin", getTradeBalanceMin())
            .append("unpayTime", getUnpayTime())
            .append("depositRate", getDepositRate())
            .append("rechargeRate", getRechargeRate())
            .toString();
    }
}
